<%@ page language="java" pageEncoding="UTF-8"%>
<%
String isPerson=request.getParameter("isPerson");
if(isPerson==null){
	isPerson="";
}
%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>欢迎访问产品运营互动中心！</title>
<%@ include file="/commons/include/head-meta.inc.jsp"%>
<script type="text/javascript">
$(document).ready(function(){
	$("#iTR1").css({background: "#B3DEF4"});	
});

</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width="980" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
			<table width="100%" border="0" cellpadding="0" cellspacing="0"
				background="<s:url value="/images/new/gxzl_index_2.gif"/>">
				<tr>
					<td width="20" height="32">&nbsp;</td>
					<td width="20"><img
						src="<s:url value="/images/new/dq_dot.gif"/>" width="15"
						height="12" /></td>
					<td>当前位置：业务需求交互单-您的待办单</td>

				</tr>
			</table>
			</td>
		</tr>
	<tr>
		<td background="<s:url value="/images/home_4a.gif"/>">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
			<tr>
				<td width="20%" valign="top">
				<table width="100%" height="400"  border="0" cellspacing="0" cellpadding="0"
					align="center" bgcolor="#FFFFFF">
					<tr>
						<td width="240" valign="top" class="leftbg">
						<%@ include file="/commons/include/request_pvc_left.inc.jsp" %>
						</td>
						<td valign="top" align="center"><br>
					<table width="98%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab1.gif"/>" width="5" height="5" /></td>
										<td class="tdborderup"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab2.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td  class="tdborderleftright">
							<form action="newBusinessReq_findRunTaskList.action" method="post" style="margin: 0">
							<input type="hidden" name="isPerson" value="<%=isPerson %>">
							<table width="98%" cellSpacing=1 cellPadding=0 align="center">
								<tr height=30>
									<td>需求单号：</td>
									<td><input name="flowTaskForm.reqCode" size="28" type="text" value="${flowTaskForm.reqCode }"/></td>
									<td>需求名称：</td>
									<td><input name="flowTaskForm.reqTitle" size="28" type="text" value="${flowTaskForm.reqTitle }"/></td>
								</tr>
								<tr>
									<td>发 起 人：</td>
									<td><input name="flowTaskForm.startUser" size="28"  type="text" value="${flowTaskForm.startUser}"/></td>
									<td>产品经理：</td>
									<td><input name="flowTaskForm.prodPerson" size="28"  type="text" value="${flowTaskForm.prodPerson}"/></td>
								</tr>
								<tr>
									<td>待办时间：</td>
									<td><input name="flowTaskForm.startTime" size="28"  type="text" value="${flowTaskForm.startTime}" onFocus="WdatePicker({isShowClear:true,readOnly:true})"/></td>
									<td align="center">至：</td>									
				                    <td><input name="flowTaskForm.endTime" size="28"  type="text" value="${flowTaskForm.endTime}" onFocus="WdatePicker({isShowClear:true,readOnly:true})"/></td>
								</tr>
								<tr>
									<td>发起部门：</td>
									<td>
										<select name="flowTaskForm.startDept" style="width:195px">
											<option value="">-=请选择发起部门=-</option>
											<c:forEach var="shortName" items="${listShortName}">
												<option value="${shortName}" <c:if test="${shortName eq flowTaskForm.startDept}"> selected="selected"</c:if>>${shortName}</option>
											</c:forEach>
										</select>
									</td>
									<td>业务标签：</td>
									<td><input name="flowTaskForm.businessTag" size="28"  type="text" value="${flowTaskForm.businessTag}"/></td>							
								</tr>
								<tr>
									<td></td>									
									<td align=left colspan="3">
				                     <input type="button" name="searchBtn" onclick="subNoValidateForm(document.forms[0],'newBusinessReq_findRunTaskList.action');"  value="查 询">
				                     <input type="button" name="resetBtn" onclick="subNoValidateForm(document.forms[0],'newBusinessReq_outAppList.action?type=task');"  value="导 出">
									</td>	
								</tr>
							</table>
							</form>
							<table width="98%" border="0" cellspacing="0" cellpadding="7"
								align="center" class=tablecolor2>
								<tr>
									<td bgcolor="9AC2EB" width="11%">
									<div align="center"><font color="#FFFFFF">需求单号</font></div>
									</td>
									<td bgcolor="9AC2EB" width="*">
									<div align="center"><font color="#FFFFFF">需求名称</font></div>
									</td>
									<td bgcolor="9AC2EB" width="8%">
									<div align="center"><font color="#FFFFFF">发起人</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="10%">
									<div align="center"><font color="#FFFFFF">发起部门</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="8%">
									<div align="center"><font color="#FFFFFF">产品经理</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="12%">
									<div align="center"><font color="#FFFFFF">当前状态</font></div>
									</td>
									<td bgcolor="9AC2EB" width="8%">
									<div align="center"><font color="#FFFFFF">办理人</font></div>
									</td>									
									<td bgcolor="9AC2EB" width="11%">
									<div align="center"><font color="#FFFFFF">待办时间</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" >
									<div align="center"><font color="#FFFFFF">业务标签</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="10%">
									<div align="center"><font color="#FFFFFF">操作</font></div>
									</td>	
								</tr>
							<s:iterator value="#request.tasklist">
								<tr>
									<td>
										<div align="center"><s:property value="reqCode" /></div>
									</td>
									<td>
										<s:property value="title" />
									</td>
									<td>
												<div align="center"><s:property value="startPerson" /></div>
									</td>
									<td>
												<div align="center"><s:property value="shortName" /></div>
									</td>
									<td>
												<div align="center"><s:property value="prodPerson" /></div>
									</td>
									<td>
												<div align="center"><s:property value="flowName" /></div>
									</td>
									<td>
												<div align="center"><s:property value="userName" /></div>
									</td>									
									<td>
												<div align="center"><s:date name="startTime" format="yyyy-MM-dd HH:mm"/></div>
									</td>
									<td>
												<div align="center"><s:property value="businessTag" /></div>
									</td>
									<td>
									<div align="center">
										<a href="<s:url value="/"/><s:property value="url" />&flowTaskId=<s:property value="flowTaskId" />&procinstId=<s:property value="procInstId" />">办理</a>
										
										<a href="flowTaskCommon_printInstGraph.action?procinstId=<s:property value="procInstId" />" target="_blank">轨迹</a>
									</div>
									</td>
								</tr>
							</s:iterator>
							
							<!---
							-->
							</table>
							<div style="text-align: center">${pageNaviStr }</div>
							
							</td>
						</tr>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab3.gif"/>" width="5" height="5" /></td>
										<td class="tdborderbottom"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab4.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
</body>
</html>